<?php
namespace app\admin\validate;

use think\Validate;

class Account extends Validate
{

    protected $rule =   [
        'id'              => 'require',

    ];

    protected $message  =   [
        'id'      => '数据不存在',

    ];

    protected $scene = [
        'add' => ['id'],
        'edit' => ['id']
    ];

}


